<div class="row" style="margin-bottom: 20px;">
    <div class="col-xs-1">
        <a class="btn btn-default btn-block" href="{:U(\'index/clearcache\')}">
            &nbsp;清除缓存
        </a>
    </div>
</div>
<div class="table-responsive">
    <volist name="list" id="module" mod="4">
        <div class="col-xs-4">
            <table class="table table-bordered col-xs-12" style="table-layout: fixed;">
                <thead>
                <tr>
                    <th>名称</th>
                    <th>内容</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody>
                <volist name="module" id="vo">
                    <tr>
                        <td>{$vo.name}</td>
                        <td style="white-space: nowrap;text-overflow: ellipsis;overflow: hidden;">{$vo.val}</td>
                        <td>
                            <if condition="$vo.code eq 'about'">
                                    <!--关于-->
                                    <i class="fa fa-edit qg-op-btn qg-tooltip" data-toggle="tooltip" data-placement="top" title="系统设置"
                                       onclick="modal('{:U(\'System/aboutEdit\', array(\'code\'=>$vo[\'code\'],\'module\'=>$vo[\'module\']))}', '系统设置', '650px','600px')">
                                    </i>
                                <else/>
                                    <!--编辑类别-->
                                    <i class="fa fa-edit qg-op-btn qg-tooltip" data-toggle="tooltip" data-placement="top" title="系统设置"
                                       onclick="modal('{:U(\'System/edit\', array(\'code\'=>$vo[\'code\'],\'module\'=>$vo[\'module\']))}', '系统设置', '200px','400px')">
                                    </i>
                            </if>
                        </td>
                    </tr>
                </volist>
                </tbody>
            </table>
        </div>
        <!--{$mod}-->
        <eq name="mod" value="2">
            <div class="col-xs-12"></div>
        </eq>
    </volist>
</div>
{$page}

